Java EE - Interview Questions and Answers for 'Internet address' - 3 question(s) found - Order By Newest Q1. What is the difference between URI, URL and URN ? Java EE
Ans. URI stands for Uniform Resource Indicator
URL stands for Uniform Resource Locator
URN stands for Uniform Resource Name
URI = URL + URN
For ex - http://javasearch.buggybread.com/InterviewQuestions/questionSearch.php?keyword=url
This is URI. The string from start till .php is URL whereas keyword=url is URN. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  url  urn  uri  web address  internet address Asked in 1 Companies Related Questions What is session tracking and how do you track a user session in servlets? Design an app to find 10 most visited urls What is URL? In this url
http://javasearch.buggybread.com/InterviewQuestions/questionSearch.php?searchOption=label&keyword=url
What is protocol , domain , path and query param ? What is the character limit of url and doesn it apply to GET and POST Requests ? Do you think we should have security Tokens in Url ? What information should be sent in url vs sent within the body in case of Post request ? What is difference between url based and component based web application ? How Bitly shortens the URL ? Q2. In this url
http://javasearch.buggybread.com/InterviewQuestions/questionSearch.php?searchOption=label&keyword=url
What is protocol , domain , path and query param ? Java EE
Ans. the web URI starts with the protocol which is http in this case, javasearch.buggybread.com is the domain in this case which is a subdomain of buggybread.com, /InterviewQuestions is the path, questionSearch.php is the resource, searchOption and keyword are query params. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  url  internet addressRelated Questions What is session tracking and how do you track a user session in servlets? Design an app to find 10 most visited urls What is URL? What is the difference between URI, URL and URN ? What is the character limit of url and doesn it apply to GET and POST Requests ? Do you think we should have security Tokens in Url ? What information should be sent in url vs sent within the body in case of Post request ? What is difference between url based and component based web application ? How Bitly shortens the URL ? Q3. What is the character limit of url and doesn it apply to GET and POST Requests ? Java EE
Ans. Its 2048 and Yes it applies to get request but not POST. As in Get Request , elements are passed as part of the url, this limit applies to Get requests. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  url  internet addressRelated Questions What is session tracking and how do you track a user session in servlets? Design an app to find 10 most visited urls What is URL? What is the difference between URI, URL and URN ? In this url
http://javasearch.buggybread.com/InterviewQuestions/questionSearch.php?searchOption=label&keyword=url
What is protocol , domain , path and query param ? Do you think we should have security Tokens in Url ? What information should be sent in url vs sent within the body in case of Post request ? What is difference between url based and component based web application ? How Bitly shortens the URL ?